Skip to content

Conversation

@bobbyhouse
Copy link
Contributor

What I did

Added commands to add and remove servers from a working set.

  1. Add a server to an existing working set
    docker mcp workingset server add [working-set-id] --server [ref or uri]

Example
docker mcp workingset server add test-set --server docker://roberthouse224/mcp-dice:latest --server https://mcp.docker.com/v0/servers/slack

  1. Remove a server from an existing working set
    docker mcp workingset server remove [working-set-id] --server [ref or uri]

Example
docker mcp workingset server remove test-set --server docker://roberthouse224/mcp-dice:latest --server https://mcp.docker.com/v0/servers/slack/versions/latest

Related issue

(very mandatory) A picture of a cute animal, if possible in relation to what you did
Screenshot 2025-11-07 at 2 21 10 PM

@bobbyhouse bobbyhouse requested a review from a team as a code owner November 7, 2025 22:33
@bobbyhouse bobbyhouse requested a review from cmrigney November 7, 2025 22:34
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Contributor

@cmrigney cmrigney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looking good, just think we need to make those changes to remove

Base automatically changed from ws-images-gateway to main November 10, 2025 16:51
@bobbyhouse bobbyhouse force-pushed the add-remove-server-to-from-profile branch from c2689f5 to 0eb8425 Compare November 10, 2025 17:21
Add functionality to add and remove servers from a workingset. Can
add/remove by OCI ref or registry URI.
@bobbyhouse bobbyhouse force-pushed the add-remove-server-to-from-profile branch from 0eb8425 to 2790b2b Compare November 10, 2025 17:39
- removed argument validation from working set command line parsing
  logic
- change removal arguments from `--server` to `--name`
- removed `EnsuresnapshotsResolved` logic as part of adding a server
- update tests to use `Snapshot.Server.Name`
- update tests to remove registry examples
- added validation method to check for server name uniqueness
@bobbyhouse bobbyhouse requested a review from cmrigney November 10, 2025 19:51
Copy link
Contributor

@cmrigney cmrigney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

return workingSet.validateUniqueServerNames()
}

func (workingSet *WorkingSet) validateUniqueServerNames() error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Thanks for adding this!

@bobbyhouse bobbyhouse merged commit c2c026b into main Nov 10, 2025
8 checks passed
@bobbyhouse bobbyhouse deleted the add-remove-server-to-from-profile branch November 10, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants